import request from '@/utils/request'

// 获取运输数据
export const transportData = (data) => {
  return request.post('/transport-task-manager/page', data)
}

export const transportDataCount = () => {
  return request.get('/transport-task-manager/count')
}

// 空车取消任务
export const cancelTask = (id) => {
  return request.put(`/transport-task-manager/cancel/${id}`)
}
